package com.cscj.android.repository.uidata

import androidx.room.Embedded
import androidx.room.Relation
import com.cscj.android.repository.db.entity.ShortCutCategoryEntity
import com.cscj.android.repository.db.entity.ShortCutEntity

data class ShortCutUIData(
    @Embedded val category: ShortCutCategoryEntity,

    @Relation(
        entity = ShortCutEntity::class,
        entityColumn = "categoryId",
        parentColumn = "id"
    ) val shortCutList: List<ShortCutEntity>
)
